package com.insightfullogic.java8.examples.chapter9.vertx;/*
package com.insightfullogic.java8.examples.chapter9.vertx;

import org.vertx.java.platform.Verticle;

*/
/**
 * @author lili
 * @description ${DESCRIPTION}
 * @create 2018-01-20 下午4:56
 * @since
 **//*

public class ChatVerticle extends Verticle {
    public void start() { vertx.createNetServer()
            .connectHandler(socket -> {
                container.logger().info("socket connected");
                socket.dataHandler(new User(socket, this));
            }).listen(10_000);
        container.logger().info("ChatVerticle started");
    }
}

*/
